I got it to work.
Used an animator playdate.buttonJustReleased ([direction])
Added the animator value to the x value