Sets a color multiplier for this sprite
Values are RGBA from 0 to 1
Default values are 1, alpha is optional 
SpriteTask.color(rgb: Vector3): SpriteTask | Method Property | Fluent Description | Representation |
|---|---|---|
| rgb accepts | typings.2002444080||
| Return Value | typings.-769810934
SpriteTask.color(rgba: Vector4): SpriteTask | Method Property | Fluent Description | Representation |
|---|---|---|
| rgba accepts | typings.2002444081||
| Return Value | typings.-769810934
SpriteTask.color(r: Number, g: Number, b: Number, a: Number): SpriteTask | Method Property | Fluent Description | Representation |
|---|---|---|
| r accepts | typings.-1950496919||
| g accepts | typings.-1950496919||
| b accepts | typings.-1950496919||
| a accepts | typings.-1950496919||
| Return Value | typings.-769810934
SpriteTask.dimensions(dimensions: Vector2): SpriteTask | Method Property | Fluent Description | Representation |
|---|---|---|
| dimensions accepts | typings.2002444079||
| Return Value | typings.-769810934
SpriteTask.dimensions(width: Integer, height: Integer): SpriteTask | Method Property | Fluent Description | Representation |
|---|---|---|
| width accepts | typings.-672261858||
| height accepts | typings.-672261858||
| Return Value | typings.-769810934
Sets the light override value of this task
Values are given from 0 to 15, indicating the block light and sky light levels you want to use
Passing nil will reset the lighting override for this task 
SpriteTask.light(light: Vector2): RenderTask | Method Property | Fluent Description | Representation |
|---|---|---|
| light accepts | typings.2002444079||
| Return Value | typings.-1107424165
SpriteTask.light(blockLight: Integer, skyLight: Integer): RenderTask | Method Property | Fluent Description | Representation |
|---|---|---|
| blockLight accepts | typings.-672261858||
| skyLight accepts | typings.-672261858||
| Return Value | typings.-1107424165
Sets the given matrix as the position matrix for this render task
The normal matrix is automatically calculated as the inverse transpose of this matrix
Calling this DOES NOT CHANGE the values of position, rot, or scale in the render task
If you call setPos() or a similar function, the effects of setMatrix() will be overwritten 
SpriteTask.matrix(matrix: Matrix4): RenderTask | Method Property | Fluent Description | Representation |
|---|---|---|
| matrix accepts | typings.-1789003661||
| Return Value | typings.-1107424165
Sets the overlay override value of this task
Values you give are 0 to 15, indicating the white overlay and the damage overlay levels you want to use
Passing nil will reset the overlay override for this task 
SpriteTask.overlay(overlay: Vector2): RenderTask | Method Property | Fluent Description | Representation |
|---|---|---|
| overlay accepts | typings.2002444079||
| Return Value | typings.-1107424165
SpriteTask.overlay(whiteOverlay: Integer, hurtOverlay: Integer): RenderTask | Method Property | Fluent Description | Representation |
|---|---|---|
| whiteOverlay accepts | typings.-672261858||
| hurtOverlay accepts | typings.-672261858||
| Return Value | typings.-1107424165
SpriteTask.pos(pos: Vector3): RenderTask | Method Property | Fluent Description | Representation |
|---|---|---|
| pos accepts | typings.2002444080||
| Return Value | typings.-1107424165
SpriteTask.pos(x: Number, y: Number, z: Number): RenderTask | Method Property | Fluent Description | Representation |
|---|---|---|
| x accepts | typings.-1950496919||
| y accepts | typings.-1950496919||
| z accepts | typings.-1950496919||
| Return Value | typings.-1107424165
SpriteTask.region(region: Vector2): SpriteTask | Method Property | Fluent Description | Representation |
|---|---|---|
| region accepts | typings.2002444079||
| Return Value | typings.-769810934
SpriteTask.region(width: Integer, height: Integer): SpriteTask | Method Property | Fluent Description | Representation |
|---|---|---|
| width accepts | typings.-672261858||
| height accepts | typings.-672261858||
| Return Value | typings.-769810934
SpriteTask.rot(rot: Vector3): RenderTask | Method Property | Fluent Description | Representation |
|---|---|---|
| rot accepts | typings.2002444080||
| Return Value | typings.-1107424165
SpriteTask.rot(x: Number, y: Number, z: Number): RenderTask | Method Property | Fluent Description | Representation |
|---|---|---|
| x accepts | typings.-1950496919||
| y accepts | typings.-1950496919||
| z accepts | typings.-1950496919||
| Return Value | typings.-1107424165
SpriteTask.scale(scale: Vector3): RenderTask | Method Property | Fluent Description | Representation |
|---|---|---|
| scale accepts | typings.2002444080||
| Return Value | typings.-1107424165
SpriteTask.scale(x: Number, y: Number, z: Number): RenderTask | Method Property | Fluent Description | Representation |
|---|---|---|
| x accepts | typings.-1950496919||
| y accepts | typings.-1950496919||
| z accepts | typings.-1950496919||
| Return Value | typings.-1107424165
Sets a color multiplier for this sprite
Values are RGBA from 0 to 1
Default values are 1, alpha is optional 
SpriteTask.setColor(rgb: Vector3): SpriteTask | Method Property | Fluent Description | Representation |
|---|---|---|
| rgb accepts | typings.2002444080||
| Return Value | typings.-769810934
SpriteTask.setColor(rgba: Vector4): SpriteTask | Method Property | Fluent Description | Representation |
|---|---|---|
| rgba accepts | typings.2002444081||
| Return Value | typings.-769810934
SpriteTask.setColor(r: Number, g: Number, b: Number, a: Number): SpriteTask | Method Property | Fluent Description | Representation |
|---|---|---|
| r accepts | typings.-1950496919||
| g accepts | typings.-1950496919||
| b accepts | typings.-1950496919||
| a accepts | typings.-1950496919||
| Return Value | typings.-769810934
SpriteTask.setDimensions(dimensions: Vector2): SpriteTask | Method Property | Fluent Description | Representation |
|---|---|---|
| dimensions accepts | typings.2002444079||
| Return Value | typings.-769810934
SpriteTask.setDimensions(width: Integer, height: Integer): SpriteTask | Method Property | Fluent Description | Representation |
|---|---|---|
| width accepts | typings.-672261858||
| height accepts | typings.-672261858||
| Return Value | typings.-769810934
Sets the light override value of this task
Values are given from 0 to 15, indicating the block light and sky light levels you want to use
Passing nil will reset the lighting override for this task 
SpriteTask.setLight(light: Vector2): RenderTask | Method Property | Fluent Description | Representation |
|---|---|---|
| light accepts | typings.2002444079||
| Return Value | typings.-1107424165
SpriteTask.setLight(blockLight: Integer, skyLight: Integer): RenderTask | Method Property | Fluent Description | Representation |
|---|---|---|
| blockLight accepts | typings.-672261858||
| skyLight accepts | typings.-672261858||
| Return Value | typings.-1107424165
Sets the given matrix as the position matrix for this render task
The normal matrix is automatically calculated as the inverse transpose of this matrix
Calling this DOES NOT CHANGE the values of position, rot, or scale in the render task
If you call setPos() or a similar function, the effects of setMatrix() will be overwritten 
SpriteTask.setMatrix(matrix: Matrix4): RenderTask | Method Property | Fluent Description | Representation |
|---|---|---|
| matrix accepts | typings.-1789003661||
| Return Value | typings.-1107424165
Sets the overlay override value of this task
Values you give are 0 to 15, indicating the white overlay and the damage overlay levels you want to use
Passing nil will reset the overlay override for this task 
SpriteTask.setOverlay(overlay: Vector2): RenderTask | Method Property | Fluent Description | Representation |
|---|---|---|
| overlay accepts | typings.2002444079||
| Return Value | typings.-1107424165
SpriteTask.setOverlay(whiteOverlay: Integer, hurtOverlay: Integer): RenderTask | Method Property | Fluent Description | Representation |
|---|---|---|
| whiteOverlay accepts | typings.-672261858||
| hurtOverlay accepts | typings.-672261858||
| Return Value | typings.-1107424165
SpriteTask.setPos(pos: Vector3): RenderTask | Method Property | Fluent Description | Representation |
|---|---|---|
| pos accepts | typings.2002444080||
| Return Value | typings.-1107424165
SpriteTask.setPos(x: Number, y: Number, z: Number): RenderTask | Method Property | Fluent Description | Representation |
|---|---|---|
| x accepts | typings.-1950496919||
| y accepts | typings.-1950496919||
| z accepts | typings.-1950496919||
| Return Value | typings.-1107424165
SpriteTask.setRegion(region: Vector2): SpriteTask | Method Property | Fluent Description | Representation |
|---|---|---|
| region accepts | typings.2002444079||
| Return Value | typings.-769810934
SpriteTask.setRegion(width: Integer, height: Integer): SpriteTask | Method Property | Fluent Description | Representation |
|---|---|---|
| width accepts | typings.-672261858||
| height accepts | typings.-672261858||
| Return Value | typings.-769810934
SpriteTask.setRot(rot: Vector3): RenderTask | Method Property | Fluent Description | Representation |
|---|---|---|
| rot accepts | typings.2002444080||
| Return Value | typings.-1107424165
SpriteTask.setRot(x: Number, y: Number, z: Number): RenderTask | Method Property | Fluent Description | Representation |
|---|---|---|
| x accepts | typings.-1950496919||
| y accepts | typings.-1950496919||
| z accepts | typings.-1950496919||
| Return Value | typings.-1107424165
SpriteTask.setScale(scale: Vector3): RenderTask | Method Property | Fluent Description | Representation |
|---|---|---|
| scale accepts | typings.2002444080||
| Return Value | typings.-1107424165
SpriteTask.setScale(x: Number, y: Number, z: Number): RenderTask | Method Property | Fluent Description | Representation |
|---|---|---|
| x accepts | typings.-1950496919||
| y accepts | typings.-1950496919||
| z accepts | typings.-1950496919||
| Return Value | typings.-1107424165
SpriteTask.setSize(size: Vector2): SpriteTask | Method Property | Fluent Description | Representation |
|---|---|---|
| size accepts | typings.2002444079||
| Return Value | typings.-769810934
SpriteTask.setSize(width: Integer, height: Integer): SpriteTask | Method Property | Fluent Description | Representation |
|---|---|---|
| width accepts | typings.-672261858||
| height accepts | typings.-672261858||
| Return Value | typings.-769810934
Sets this task's texture
The texture's width and height must be provided if the texture is a location
For custom textures, the dimensions are optional 
SpriteTask.setTexture(textureLocation: String, width: Integer, height: Integer): SpriteTask | Method Property | Fluent Description | Representation |
|---|---|---|
| textureLocation accepts | typings.-1808118735||
| width accepts | typings.-672261858||
| height accepts | typings.-672261858||
| Return Value | typings.-769810934
SpriteTask.setTexture(texture: Texture): SpriteTask | Method Property | Fluent Description | Representation |
|---|---|---|
| texture accepts | typings.246836475||
| Return Value | typings.-769810934
SpriteTask.setTexture(texture: Texture, width: Integer, height: Integer): SpriteTask | Method Property | Fluent Description | Representation |
|---|---|---|
| texture accepts | typings.246836475||
| width accepts | typings.-672261858||
| height accepts | typings.-672261858||
| Return Value | typings.-769810934
SpriteTask.setTexture(textureLocation: String, dimensions: Vector2): SpriteTask | Method Property | Fluent Description | Representation |
|---|---|---|
| textureLocation accepts | typings.-1808118735||
| dimensions accepts | typings.2002444079||
| Return Value | typings.-769810934
SpriteTask.setTexture(texture: Texture, dimensions: Vector2): SpriteTask | Method Property | Fluent Description | Representation |
|---|---|---|
| texture accepts | typings.246836475||
| dimensions accepts | typings.2002444079||
| Return Value | typings.-769810934
SpriteTask.setUV(uv: Vector2): SpriteTask | Method Property | Fluent Description | Representation |
|---|---|---|
| uv accepts | typings.2002444079||
| Return Value | typings.-769810934
SpriteTask.setUV(u: Number, v: Number): SpriteTask | Method Property | Fluent Description | Representation |
|---|---|---|
| u accepts | typings.-1950496919||
| v accepts | typings.-1950496919||
| Return Value | typings.-769810934
SpriteTask.setUVPixels(uv: Vector2): SpriteTask | Method Property | Fluent Description | Representation |
|---|---|---|
| uv accepts | typings.2002444079||
| Return Value | typings.-769810934
SpriteTask.setUVPixels(u: Number, v: Number): SpriteTask | Method Property | Fluent Description | Representation |
|---|---|---|
| u accepts | typings.-1950496919||
| v accepts | typings.-1950496919||
| Return Value | typings.-769810934
SpriteTask.size(size: Vector2): SpriteTask | Method Property | Fluent Description | Representation |
|---|---|---|
| size accepts | typings.2002444079||
| Return Value | typings.-769810934
SpriteTask.size(width: Integer, height: Integer): SpriteTask | Method Property | Fluent Description | Representation |
|---|---|---|
| width accepts | typings.-672261858||
| height accepts | typings.-672261858||
| Return Value | typings.-769810934
Sets this task's texture
The texture's width and height must be provided if the texture is a location
For custom textures, the dimensions are optional 
SpriteTask.texture(textureLocation: String, width: Integer, height: Integer): SpriteTask | Method Property | Fluent Description | Representation |
|---|---|---|
| textureLocation accepts | typings.-1808118735||
| width accepts | typings.-672261858||
| height accepts | typings.-672261858||
| Return Value | typings.-769810934
SpriteTask.texture(texture: Texture): SpriteTask | Method Property | Fluent Description | Representation |
|---|---|---|
| texture accepts | typings.246836475||
| Return Value | typings.-769810934
SpriteTask.texture(texture: Texture, width: Integer, height: Integer): SpriteTask | Method Property | Fluent Description | Representation |
|---|---|---|
| texture accepts | typings.246836475||
| width accepts | typings.-672261858||
| height accepts | typings.-672261858||
| Return Value | typings.-769810934
SpriteTask.texture(textureLocation: String, dimensions: Vector2): SpriteTask | Method Property | Fluent Description | Representation |
|---|---|---|
| textureLocation accepts | typings.-1808118735||
| dimensions accepts | typings.2002444079||
| Return Value | typings.-769810934
SpriteTask.texture(texture: Texture, dimensions: Vector2): SpriteTask | Method Property | Fluent Description | Representation |
|---|---|---|
| texture accepts | typings.246836475||
| dimensions accepts | typings.2002444079||
| Return Value | typings.-769810934
SpriteTask.uv(uv: Vector2): SpriteTask | Method Property | Fluent Description | Representation |
|---|---|---|
| uv accepts | typings.2002444079||
| Return Value | typings.-769810934
SpriteTask.uv(u: Number, v: Number): SpriteTask | Method Property | Fluent Description | Representation |
|---|---|---|
| u accepts | typings.-1950496919||
| v accepts | typings.-1950496919||
| Return Value | typings.-769810934
SpriteTask.uvPixels(uv: Vector2): SpriteTask | Method Property | Fluent Description | Representation |
|---|---|---|
| uv accepts | typings.2002444079||
| Return Value | typings.-769810934
SpriteTask.uvPixels(u: Number, v: Number): SpriteTask | Method Property | Fluent Description | Representation |
|---|---|---|
| u accepts | typings.-1950496919||
| v accepts | typings.-1950496919||
| Return Value | typings.-769810934
listFiles
action_wheel
Action
BlockRaycastTypes