Author Topic: Last Input for Movement  (Read 508 times)


  • Playmaker Newbie
  • *
  • Posts: 2
    • View Profile
Last Input for Movement
« on: February 12, 2018, 03:25:02 PM »

I'm trying to make a cube move around a grid. When I hold the 'up' key it goes up but when I then press the right key it doesn't respond to go right. How can I make a system that does the last key pressed for movement? Right now it seems to prioritise up and down as direction inputs.


  • Playmaker Newbie
  • *
  • Posts: 10
    • View Profile
Re: Last Input for Movement
« Reply #1 on: February 12, 2018, 04:03:38 PM »
You can create Direct variable and in every frame compare this var with up,bot,left,right

Then sendEvent to your events