title: How do you run each "tick" of the program in Android Studio?
body: <p>What I mean by "tick" is, "each time the program 'updates', or essentially each frame when it runs". Like the Gamemaker <code>Step</code> event for objects. Gamemaker is just bad because these "ticks" or "steps" are directly tied to fps, which can break the game, quite literally.</p>
  
  <p>This is probably a repeated question because I simply don't know what to ask for. If it is, please go ahead and point me in the right direction by giving me the proper terminology for this program. Perhaps there is no "step" in Android Studio, and I just need to have a <code>TimerTask</code> to have my game constantly update and do its actions.</p>
  
  <p>Why do I want to know? Because some actions the AI takes needs to be happening regardless of user input, like in an RTS game. Or for updating your position on a map, that's tied to Google Services' <code>getLastLocation</code> method.</p>