#Why does this parameter work

11 messages · Page 1 of 1 (latest)

rotund fjord
#

I've been trying to figure out why the "input" in the function is working.
But I've had no luck so far trying to figure it out
I get inputobject when i print it. I've looked it up in the documentations, but that still didn't tell me anything.

viral geyser
#

from what im seeing

#

when u call the function leap()

#

its def from

#

UserInputService.InputBegan:Connect(leap)

#

what this does is

#

any input the player does will activate the function leap()

#

any input at all, even moving the mouse by a bit or any key on the keyboard

rotund fjord
#

sorry
i just figured it out

viral geyser
#

ok lmk if anything else confuses u