I'm trying to start the double-jump only after he touch the object. Sorry for my english.
You need to give us a little more context.
Sounds like you want to use a Function that has whatever actions cause your character to jump.... twice?
Start with the double jump disabled in properties
When your player catches your powerup, adds event: player Platform behavior double jump set to enabled
try this event : your character on collision with the power up → action : your character , set double jump enabled
platfrom behavior should added to your character before you doing this event
Develop games in your browser. Powerful, performant & highly capable.
Thank you for the precision androidpro
Platform behavior is actually necessary to realize what I had write
you are welcome MadSpy
Thank You all, but doesn't work ç-ç i don't know why