Author Topic: Navigate states with arrow keys  (Read 710 times)


  • Full Member
  • ***
  • Posts: 116
    • View Profile
Navigate states with arrow keys
« on: October 31, 2017, 07:01:21 AM »
Something that would help a great deal in switching between states in the PlayMaker Editor is if you could select the nearest state by pressing the appropriate arrow key.
For example: Pressing the left arrow key selects the state to the left of the current one (even if it is a bit off to the top/bottom).

That would save a lot of time and (miss-)clicks, especially if you want to copy/compare values/actions from one state to another or navigate in more complex FSMs.

It might not be that easy to implement, but would increase productivity a lot.

Features on top of that:
Holding Ctrl or Shift while pressing the arrow keys follows transitions to the destinated state (could pose a problem if a state has more than 1  transition, maybe then you could press its number and the arrow key).

If no state is selected, pressing any arrow key selects the first best state on the pressed side (pressing left selects the left-most state, if there is more than one state under another, it goes from top to bottom; so it selects the left- and top-most state).

Additionally be able to select states by pressing the first character of the state name: Pressing 'S' once selects the first state starting with "S", pressing 'S' several times cycles through all states starting with "S" alphabetically and numerically, then pressing 'P' selects the first state starting with "P" and so on.
Internally this could be achieved by keeping a hidden list of all available states in this FSM and select the first occurence of the pressed character.
« Last Edit: October 31, 2017, 07:18:49 AM by Deek »


  • Administrator
  • Hero Member
  • *****
  • Posts: 13618
  • Official Playmaker Support
    • View Profile
Re: Navigate states with arrow keys
« Reply #1 on: November 02, 2017, 12:09:24 AM »

 yep, that would be good to get more shortcuts like that.