Hi Higor,
What the documentation is explaining is that, you can retrieve the rotation value from a node in your hierarchy using the rotation getter function.
So for example, let’s say you have a node called “cube” in Studio and its ‘x,y,z’ rotation values are
[15,180,0]
You would then access its rotation values by declaring a new variable and assigning those values to the new variable, like so:
var rot = cube.rotation();
In this case, the new variable ‘rot’ now holds the value [15,180,0], which are the “cube” node’s rotation values.
This same process can be used to retrieve the rotation values of an Attitude Orient node. The link below provides more information on how to use Attitude Orient nodes, so it’s worth having a read through.
https://docs.zap.works/studio/gyro-oriented-environments/
Hope this cleared things up a bit for you.
Thanks,
Seb
*EDIT: While this method of retrieving a node’s rotation values is correct, it can not be used on an ‘Attitude Orient’ node as I’d incorrectly mentioned. Apologies.