useClipMark
useClipMark(
entity,mark,heard):void
Calls heard each time entity’s one-shot clip crosses the mark named
mark, one registerClip gave the clip, on the page that draws it:
where a look times an effect to the motion, such as shards as the
hands come down, as Roblox’s GetMarkerReachedSignal and Unity’s
animation events do. The cast’s own release is the room’s, which
SpellLandedEvent and SpellStruckEvent carry; this is for what the eye
sees. It hears each mark once, the frame the clip passes it, two in one
frame included.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
entity |
Entity |
mark |
string |
heard |
(reached) => void |
Returns
Section titled “Returns”void