Author Topic: Axis Event  (Read 515 times)


  • Playmaker Newbie
  • *
  • Posts: 20
    • View Profile
Axis Event
« on: December 01, 2018, 09:36:33 AM »

So I'm creating  a picture gallery of sort. I want to be able to press right and go to the next image press left and go back to the first.

Now I got it working with ui buttons easily. Im trying to add the keyboard controls left and right.

I used axis event for horizontal and vertical. It works but its so fast. The moment i press right it goes right to the end and vice versa.

What do i use to make it like i press right once and it goes right instead of just running through to the end.


  • Full Member
  • ***
  • Posts: 148
    • View Profile
Re: Axis Event
« Reply #1 on: December 01, 2018, 10:15:44 PM »
I'd use a simple Wait action between the events to slow it down slightly.


  • Administrator
  • Hero Member
  • *****
  • Posts: 15396
  • Official Playmaker Support
    • View Profile
Re: Axis Event
« Reply #2 on: December 02, 2018, 10:58:13 PM »

 you need to listen to the up state of the key being pressed, if you use input you'll need to use compare float to make sure you catch both states ( up key and down key)