Codename LogoCodename Logo

funkin.backend.scripting.events.PlayAnimContext

APIWiki

Contains all contexts possible for PlayAnimEvent.

Variables

View in GitHub

@:value(cast "DANCE")@:impl@:enuminlineread onlyDANCE:PlayAnimContext = "DANCE"

Whenever a dance animation is played. The character's dancing wont be blocked.

View in GitHub

@:value(cast "LOCK")@:impl@:enuminlineread onlyLOCK:PlayAnimContext = "LOCK"

Locks the character's animation. Prevents the character from dancing, even if the animation ended.

View in GitHub

@:value(cast "MISS")@:impl@:enuminlineread onlyMISS:PlayAnimContext = "MISS"

Whenever a note is missed and a miss animation will be played. Only for scripting, since it has the same effects as SING.

View in GitHub

@:value(cast null)@:impl@:enuminlineread onlyNONE:PlayAnimContext = null

No context was given for the animation. The character won't dance until the animation is finished

View in GitHub

@:value(cast "SING")@:impl@:enuminlineread onlySING:PlayAnimContext = "SING"

Whenever a note is hit and a sing animation will be played. The character will only dance after their holdTime is reached.