Some functions that would be relevant to sprites and animations that you may want to look into.
Especially when working with any functions you aren't familiar with. Whenever you have an issue be sure to check out that manual (F1) first. The Gamemaker documention is very handy and makes a great reference.
Just some further info that may help you along since you're just starting out.