Lingo Dictionary > S > scoreColor |  |

scoreColor

Syntax

    sprite(whichSprite).scoreColor
    the scoreColor of sprite whichSprite

Description

Sprite property; indicates the Score color assigned to the sprite specified by `whichSprite`. The possible values correspond to color chips 0 to 5 in the current palette.

This property can be tested and set. Setting this property is useful only during authoring and Score recording.

Example

This statement displays in the Message window the value for the Score color assigned to sprite 7:

    put sprite(7).scorecolor