so this will solve the idle problem but as said i also have another problem, the last key i press is the key that count, so if i press right, then up, and after that left and hold the keys, the character will move up but have the left flipbook, i know its not what i asked for in the beginning, but it is nice to fix when im first working at it
Btw thanks for answering, i will work with what you guys said