enum abstract PlayAnimContext(String)
package funkin.scripting.events
import funkin.scripting.events.PlayAnimEvent
Contains all contexts possible for PlayAnimEvent.
Variables
inlineread onlyDANCE:PlayAnimContext = "DANCE"
Whenever a dance animation is played. The character's dancing wont be blocked.
inlineread onlyLOCK:PlayAnimContext = "LOCK"
Locks the character's animation. Prevents the character from dancing, even if the animation ended.
inlineread 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.
inlineread onlyNONE:PlayAnimContext = null
No context was given for the animation. The character won't dance until the animation is finished
inlineread 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.