Player shooting at the wrong angle

Before proceeding, please use the forum search feature at the top of the page to check if your question has already been answered.

I’m trying to make my player object jump to the angle I set for it like a slingshot but it’s not working, I even tried using a dummy object to act as a bullet to test it better but, It keep jumping to the wrong direction. Please help.

Here are some screenshots of the problem



And screenshots of the code



Please Help

There is expression AngleBetweenPositions(Pos1X,Pos1Y,Pos2X,Pos2Y)

And i use this to get angle between my player and my cursor
AngleBetweenPositions(Player.CenterX(),Player.CenterY(),CursorX(),CursorY())

If you use cursor to change that anglearrow pos you could also
For you Pos1 would be lilypad.center and pos2 crusor

Tery it and lets see does it work


It didn’t work, now it only shoots at only one direction