0 votes

I have a character with a weapon (sprite), and I want it to flip vertically when on the opposite side. How to do that?
I can’t find a method that shows the exact degrees of an object.

Godot version 3.2.3 stable
in Engine by (158 points)

1 Answer

+1 vote
Best answer

The rotation of Node2D inheriting objects is accessible in a property called rotation_degrees.

by (2,634 points)
selected by

Thank you so much!

Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read Frequently asked questions and How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to [email protected] with your username.