Skip to content

RotateSprite

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

RotateSprite

RotateSprite:Void sprite:Int32, angle:Float32
Parameter Mode Type Default Description
sprite In Int32 required The sprite.
angle In Float32 required Roll angle in degrees.

Description

Rolls a sprite around the line from the camera to it. The angle is absolute, in degrees, and not added to the old one. A rolling sprite is the usual way to make spinning smoke or sparks.

Related Commands

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

Home · Command Index



Differences
Language Features
BlitzBasic
Blitz3D
BlitzPlus

Clone this wiki locally