BoolAnim Op

BoolAnim

Animate between two numbers based on a boolean value


<p>This op allows you to create simple animations with a definable animation time and easing mode. Try combining it with the ToggleBool op.</p>


Full Name
  • Ops.Anim.BoolAnim
Visibility
  • Core Op - Official cables op
License
  • MIT
Authorgithub


Example Patch Bool Animation Linked

Bool anim ops can be linked together to create chained animations.

Open In Editor

INPUT PORTS


exe (Trigger)

<p>Trigger the op</p>

bool (Number:

<i>boolean</i>

)

<p>Required to trigger an animation</p>

Animation

easing index (Number:

<i>integer</i>

)

duration (Number)

<p>How long it takes for the animation to occur</p>

Direction index (Number:

<i>integer</i>

)

Values

value false (Number)

<p>The value to animate to when <code>Bool input&#39; evaluates to </code>false&#39;</p>

value true (Number)

<p>The value to animate to when <code>Bool input&#39; evaluates to </code>true&#39;</p>

OUTPUT PORTS


trigger (Trigger)

<p>Trigger out </p>

value (Number)

<p>The current value of the animation</p>

finished (

<i>boolean</i>

Number)

Finished Trigger (Trigger)

<p>Outputs a trigger when the animation has finished</p>


Patches using BoolAnim

  • Examples
  • Public
  • My Patches