Returns the color slot being currently used by the specified player.
Argument | Type | Description |
---|---|---|
player | :real | ID of the player to get the color of |
Example, called from post_draw.gml:
// this character's 3rd color slot has an aura drawn over it:
if (get_player_color( player ) == 3) {
draw_sprite(sprite_get( "aura_particles" ), aura_timer, x, y );
}