Swipe Event in Game Lab

Is it possible to code a swipe event in App Lab?

The swipe event is mentioned in the video in CSD Unit 4 Lesson 12-2.

Again, @david.vance, this is a feature that would be nice. Not sure what it would look like on a non-touch screen device, but I don’t think it’s currently available in App Lab. You can submit feature requests by e-mailing support@code.org.

Mike

Hi there @david.vance,

I did some digging and it appears that there’s not currently a swipe command in JavaScript but somebody found a workaround to that. It’s not perfect and not all of the code they use is in the App Lab library, but this may be enough to inspire students’ creativity if they really want to be able to swipe.

Hope that helps,
–Michael K.