I guess the question is what kind of movement are you looking to have when you swipe your finger over the screen... I have posted some code that does something along those lines.
I started a simple menu for a project that does something like what you are saying but there are many ways a sprite can react to your "swipe", do you want it to bounce around the screen, spin like crazy or just follow your finger?
Here's a link to my swipe menu:
https://forumfiles.thegamecreators.com/download/2253408
Basically you just use the "Pointer" commands to find out what the user is doing.
If getPointerState()=1
`finger is on the screen
if getPointerPressed()=1
`finger has just started touching
endif
else
`finger is off the screen
if getPointerReleased()=1
`finger has just released the screen
endif
endif
...in between you can save "getPointerX()" and "getPointerY()" and "timer()" data to find out where they touch the screen and for how long. What you do with that data is then up to you.
I hope that helps
EDIT: The link I posted is from this thread:
http://forum.thegamecreators.com/?m=forum_view&t=188978&b=8