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.
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]
Hello! Thank you for helping me! I learned about collisions and made my own version of the script thanks to your help!