How to make object follow object (player)

Hello everyone ! how to make object follow another object , like picture :
I’ve made “Z-Order” but not successful. TY !

You just need to set the position of the second object to be constantly updated to match the first object using the action: All objects>Position>Position of an object.

If we call the objects ball1 and ball2 then something like

ball2.X() = ball1.X()-5
ball2.Y() = ball1.Y()

would put ball2 level with, but slightly behind ball1.

thanks, it helps me ! :slight_smile: