I need help with this

I am coding a crossbow into my game and it has been successful but the bow will not flip right side up based on the direction I am looking.
Capture



I have attempted to code in something for this but have hit wall after wall.
Any assitance with this will be greatly appreciated

Perhaps you might want to try flipping it instead of rotating?
Or if angle is a factor, then set it up so that it only flips if the angle is somewhere in the range of maybe greater than 90 and lesser than 270. Then add another event to undo the flip if it’s not in that range.

1 Like

Hi - when the object is flipped you need add or subtract 180 to the angle
You can do something like this

2 Likes

Thank you for your reply, it is greatly appreciated. If don’t mind me asking how do I type/find that condition? (Shown below)
Screenshot 2026-01-29 13.39.29
I am still learning this site, I apologize for any inconvenience.

1 Like

Hi … if you type ‘num’ in the condition search. Select ‘compare two numbers’ … to get angle between it’ll come up up after you type Ang…you need abs() in case the angle is negative.

2 Likes

when mouse X < then character X, flip the objects