Direction of camera

I want to know what value will give by blockly direction of camera?
Thanks.

Under the hood it’s represented as an object in the form {x: x, y: y, z: z} which is a direction vector with three components x, y and z. You can use this code to retrieve the values in Blockly:

cam-direction

2 Likes