How do i make an obstacle?

So i want to make an obstacle. and if the player touches it the player should move to a specific location. i have tried coding it myself but it wont work.

1 Like

You can also refer to this article, where the player moves to a “checkpoint” location when he touches the enemy (and dies): Add checkpoints to your game [GDevelop wiki]

1 Like

Hello! Thank you for helping me! I learned about collisions and made my own version of the script thanks to your help! :smiley:

2 Likes