What is it called when your eyes play tricks on you?

When you eyes play tricks on you, it's called an "optical illusion". Look it up online or on YouTube. You should find many optical illusions! :)