Activate platform movement on player contact

Godot Version

4.3.stable

Question

I want to add a moving platform to my game (2d platformer), but it should only start moving when the player jumps onto it. So essentially starting the platform animation once the player touches it instead of autoplay. Any suggestions how I can implement this, or links to tutorials that cover this topic?
(I’m quite new to Godot and game dev, I followed Brackeys’ beginner tutorial for my project)

Look into using an Area2D added to the platform to detect when a player enters it to start the animation.

1 Like