beta
cables is under heavy development.
There might be one or another bug, please let us know about it!
Ops.Anim.BoolAnim

BoolAnim
op id:06ad9d35-ccf5-4d31-889c-e23fa062588a
animate between two values based on a boolean value

summary (oneliner)

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

doc

issues

youtube id

collections

related ops

Inputs

exe (Function)

Trigger the op


bool (boolean Number)

Required to trigger an animation


Animation

easing (string Number)

Easing mode for animation


duration (Number)

How long it takes for the animation to occur


Direction (string Number)

Can be set to trigger on true and false, only true or only false


Values

value false (Number)

The value to animate to when Bool input' evaluates tofalse'


value true (Number)

The value to animate to when Bool input' evaluates totrue'


Outputs

trigger (Function)

Trigger out


value (Number)

The current value of the animation


finished (boolean Number)

Finished Trigger (Function)

Outputs a trigger when the animation has finished


Bool Animation:

Uses the BoolAnim-op to animate between boolean states



Credits

Caught a mistake or want to contribute to the documentation?


Edit this documentcancel save

Examples using BoolAnim

Public Patches using BoolAnim