setOverlayRotation
setOverlayRotation
Description
Set overlay rotation
Definition
setOverlayRotation(entityId overlayId, float rotation, float pivotX, float pivotY)
Arguments
| entityId | overlayId | overlayId |
|---|---|---|
| float | rotation | rotation |
| float | pivotX | x position of pivot of rotation (relative to position of overlay) |
| float | pivotY | y position of pivot of rotation (relative to position of overlay) |