Skip to content

HandleSprite

Narta Xaymar Dirks edited this page Oct 28, 2026 · 6 revisions
Blitz3D

HandleSprite

HandleSprite:Void sprite:Int32, x_handle:Float32, y_handle:Float32
Parameter Mode Type Default Description
sprite In Int32 required The sprite.
x_handle In Float32 required Horizontal handle position. The default is 0.
y_handle In Float32 required Vertical handle position. The default is 0.

Description

Moves the point that the sprite is held at, which is also the point it turns and scales around. 0, 0 is the middle. The handle is measured in half the size of the sprite, so -1, -1 is one corner and 1, 1 the opposite one.

Related Commands

CreateSprite, LoadSprite, RotateSprite, ScaleSprite, SpriteDepthFade 〔BlitzLLVM〕, SpriteViewMode

Home · Command Index



Differences
Language Features
BlitzBasic
Blitz3D
BlitzPlus

Clone this wiki locally