#how would i make a on key press toggle with visual scripting

1 messages · Page 1 of 1 (latest)

vocal geode
#

what nodes do i put for it. i couldnt figure out the "if" node either

pulsar olive
#

I suggest making an extra bool var for IsPressed

#

then simply toggle that bool on and off depending on when you press the key then do the set active

vocal geode
pulsar olive
#

you need to make a new variable then set it to tru when down is pressed

#

and when you press it again you set that same boolean to false

vocal geode
#

if the bool is a variable what do i attach the get variable to

pulsar olive
#

Darn x7 beat me to it

vocal geode
# pearl moon

wait thats sick how did you make the nodes have a down arrow

#

also thanks

pulsar olive
#

thats from the community add ons for uvs

vocal geode
#

what type do i make the variable for the toggle, bool?

pearl moon
pearl moon
vocal geode
vocal geode
#

closer up

pearl moon
vocal geode
#

wicked