make hero move in direction you touch

hello everybody
i've a question: i don't know how make my hero move.
i wan't him to go up when we touch and slide from down to up, to go left when we slide from the right to the left, etc...
but i don't know how to do
i've a question: i don't know how make my hero move.
i wan't him to go up when we touch and slide from down to up, to go left when we slide from the right to the left, etc...
but i don't know how to do

Comments