drawSprite(opt: DrawSpriteOpt): void
Draw a sprite.
param
opt- The draw sprite options.
drawSprite({ sprite: "bean", pos: vec2(100, 200), frame: 3, });
since
v2000.0
Draw a sprite.
param
opt- The draw sprite options.
drawSprite({ sprite: "bean", pos: vec2(100, 200), frame: 3, });
since
v2000.0
Assets
Components
Component Types
Input
Events
Info
Math
Misc
Draw
Layer
Camera
Level
Plugins
Button Bindings