How to make a 2d enemy move toward their rotation

I couldnt work it out from this but I did get the solution!!! from a kind man in the discord
he got the math wrong or it just didnt work for me so i changed it :}


`

The line going off screen goes to the tick event

2 Likes