Hi!
Does anyone know if there is a way of getting the
number of the loop last used or maybe somehow by
checking in which direction the character is facing in standstill?
Check the:
character[EGO].loop
variable, see Reference --> Text Script Global Variables from the manual for more details. (you may replace EGO by something else whereas needed)