Swipe Input – MV Plugin

      94 Comments on Swipe Input – MV Plugin

This is a Plugin that allows the developer to check for swipe input on the
touch screen or on a mouse.

Look at the code or download the Plugin:

Swipe Input
Version 1.00

This is a Plugin that allows the developer to check for swipe input on the
touch screen or on a mouse.

How to Use

The main purpose of this Plugin is to help make Timed Attacks usable on
mobile devices. However, this Plugin can allow for other functions.

In order to use, one must use one of the following code:


These are the two main functions that can be used in the Script section
of a conditional branch, or through some other boolean-releated code.


The first function is:


This function only returns true on the exact frame a swipe is completed.
This should be primailty used for code/events that should only occur
once per swipe.

It needs at least one Parameter, which is the direction of the swipe that
is being checked:


However, there are two other optional Parameters:

SwipeInput.isTriggered(‘direction’, MinimumDistance, MaximumTime)

Minimum Distance is the minimum amount of distance the swipe needs to be
to be registered as a swipe.

Maximum Time is the maximum amount of time the swipe can go on for before
no longer being registered as a swipe command.

The defaults for both Minimum Distance and Maximum Time can be customized
in the Parameters of this plugin.

SwipeInput.isTriggered(‘up’, 30, 9999)
SwipeInput.isTriggered(‘down’, 50)
SwipeInput.isTriggered(‘left’, 100, 500)


This is the same as SwipeInput.isTriggered, only this will constantly
return true as long as a swipe has been completed and the touch is still
being held down.


The first mandatory Parameter is still the same and requires a direction.

SwipeInput.isTriggered(‘direction’, MinimumDistance, MinimumTime)

However, the third Parameter has been changed. As can be seen here, it has
been switched to Minimum Time. This refers the minimum amount of time a
touch input has to be pressed before it can start to be registered as a
swipe input.

SwipeInput.isPressed(‘right’, 50, 0)
SwipeInput.isPressed(‘left’, 100)
SwipeInput.isPressed(‘up’, 30, 10)


Swipe Input SS

94 thoughts on “Swipe Input – MV Plugin

  1. elpouki

    Hello ! I have a question to ask you, I would like to have if we could click on events while using the functionality “swipe” .. I thank you in advance, and thank you for all these great plugin

  2. Fuchsilein

    Hi there!
    Somehow my Game doesnt detect the swipes anymore, could it be that the plugin doesnt work with a newer RPG Maker MV version?

  3. Bud Mcelderry

    You made some really good points there. I checked on the internet for additional information about the issue and found most individuals will go along with your views on this site.

  4. Chanel Preston

    one other and this design of partnership is a complete great deal extra genuine wanting and passionate. You might effortlessly come about across a right match for your self by way of video

  5. scooter braun

    It’а†s really a nice and useful piece of info. I am happy that you just shared this helpful info with us. Please stay us up to date like this. Thanks for sharing.

  6. fakultet

    This awesome blog is really entertaining and besides diverting. I have chosen many helpful things out of this amazing blog. I ad love to return again and again. Thanks a bunch!

  7. Echo

    You made a number of good points there. I did a search on the matter and found nearly all people will agree with your blog.

  8. Noemi

    Wow, marvelous blog layout! How long have you been blogging for? you made blogging look easy. The overall look of your web site is magnificent, let alone the content!

  9. Shea

    Wow, wonderful blog layout! How long have you been blogging for? you make blogging look easy. The overall look of your site is great, as well as the content!. Thanks For Your article about sex.

  10. deals

    That is a great tip especially to those fresh to the blogosphere. Simple but very accurate information Thanks for sharing this one. A must read post!

  11. link

    Quickly and easily build your web traffic and PR, which provides Web site visitors to add your page to any social bookmarking website.

  12. jufe 088

    Spot on with this write-up, I absolutely feel this site needs a lot more attention. I all probably be back again to read more, thanks for the information!

  13. Winapay

    Spot on with this write-up, I really assume this web site needs much more consideration. I all in all probability be again to learn rather more, thanks for that info.

  14. thue xe may

    I was suggested this blog by my cousin. I am not sure whether this post is written by him as no one else know such detailed about my difficulty. You are amazing! Thanks!

  15. Clotilde

    I was suggested this web site by my cousin. I am not sure whether this post is written by him as no one else know such detailed about my trouble. You are amazing! Thanks!

  16. Jen

    My brother suggested I might like this blog. He was entirely right. This post actually made my day. You cann at imagine simply how much time I had spent for this info! Thanks!

  17. Carli

    If you are free to watch humorous videos on the web then I suggest you to pay a visit this website, it consists of really thus funny not only videos but also extra information.

  18. Eliz

    Wohh exactly what I was searching for, regards for putting up. Be nice to everyone on your way to the top because you pass them all on the way down. by Fred Hufnagel, Sr..


Leave a Reply

Your email address will not be published. Required fields are marked *