I have an object which will change angles alot, and i need to be able to set its angle to the value of its instance variable
Develop games in your browser. Powerful, performant & highly capable.
It's easy:
Sprite set angle to (Sprite.instanceVarAngle)
Or did you mean something else?