Skip to content

Set Screen Rotation

Turns the screen to portrait or landscape and stops it rotating on its own.

An action in the Device Settings group. Its type is action.screen_rotation.

Port Label Flow Type
in in execution in —
out out execution out —
state state data out Object{rotation: String, changed: Boolean}
Field Key Default Notes
Rotation rotation portrait portrait, portrait_upside_down, landscape_left, landscape_right
  • permission to change system settings

A missing permission is flagged in the editor rather than blocking the macro — the graph is fine, the phone is not, and granting it starts the node working with no edit here at all.