#InputEnded Not working

1 messages · Page 1 of 1 (latest)

zinc sleet
#

um how do i fix this

covert yoke
# zinc sleet um how do i fix this

try moving your InputEnded function outside of the InputBegan function, you will have to redefine your character and animation stuff to the same scope but I think that could be why it isnt working

zinc sleet
#

wdym by same scope

#

im kinda new

covert yoke
# zinc sleet im kinda new

move your animation variables outside of the input began, this is because variables defined within it cant be used anywhere outside of the function, just so you dont have to redefine it

zinc sleet
#

ok

covert yoke
#

if it works you will also need a different method for ending the animation, cause this function will be called on all input ended events, not only the ones with the keycode F

zinc sleet
#

ok

#

thank you very much