Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags

oh its wrong because the motion variable is a vector2 which has an x and a y value Vector2(x, y) so if you want to declase the motion you will say motion.x or motion.y it matters where you want the motion to go like up and down, left or right