wall.rotation

Syntax

f = wall.rotation(w) (2D ONLY)
wall.rotation(w) = f (2D ONLY)

Get/set the wall orientation. The orientation is updated only when orientation tracking has been enabled (see the model orientation-tracking command).

Returns:f - wall rotation in degrees
Accepts:f - wall rotation in degrees
Arguments:w - wall pointer