How do I get a sprite to stop moving when it hits another sprite?

What is supposed to happen is the sprite jumps onto a platform and stays there, the goal of the user is to jump up all the platforms. I have figured out how to make the sprite jump but when it hits the platform it falls straight through even though it is supposed to turn the speed to zero when touching the platform.

Even if you set speed to 0, it won't do anything.

So what should I change the code to?

Read the documentation?

You could try setting enabled = false

1 Like

(Canned Reply: ABG- Export & Upload .aia)
Export your .aia file and upload it here.