How to rotate to a specific facing?


I have a piece with a Can Rotate trait that I want to set to a default facing when moved to another board. Is there a way to compare the _Facing to a default value and perform the rotation(s) to this default?


Provided you use numeric values in all your related properties, use a looping trigger action with PME

activate key command
Using PME $_Facing$ != DefaultValueHere
execute rotate key command
loop back key command

this will repeat until the two properties are the same

Thanks! Tried it and it worked fine.