A_SpriteOffset
Jump to navigation
Jump to search
void A_SpriteOffset [(double ox [, double oy])]
Usage
Sets the calling actor's sprite offsets. The offsets are set relative to the sprite's built-in offsets.
Parameters
- ox: the horizontal offset. Positive values shift the sprite to the right, while negative values shift it to the left. Default is 0.0.
- oy: the vertical offset. Positive values shift the sprite downward, while negative values shift it upwards. Default is 0.0.
Examples
![]() |
Note: This article lists no examples. If you make use of this feature in your own project(s) or know of any basic examples that could be shared, please add them. This will make it easier to understand for future authors seeking assistance. Your contributions are greatly appreciated. |