Skip to main content
Skip to main content

setOverlayRotation

setOverlayRotation

Description

Set overlay rotation

Definition

setOverlayRotation(entityId overlayId, float rotation, float pivotX, float pivotY)

Arguments

entityIdoverlayIdoverlayId
floatrotationrotation
floatpivotXx position of pivot of rotation (relative to position of overlay)
floatpivotYy position of pivot of rotation (relative to position of overlay)