Script call for mouse clicks

Discussion in 'RPG Maker MV' started by Name, Oct 30, 2016.

  1. Name

    Name Veteran Veteran

    Messages:
    131
    Likes Received:
    190
    Location:
    Wonderland
    First Language:
    English
    Primarily Uses:
    RMMV
    What is the script call for left mouse button click? Like if I wanted something to do something when you click on it with the mouse. I don't want a plugin, just a script call for a conditional branch.
     
    #1
  2. waynee95

    waynee95 Lunatic Coder Veteran

    Messages:
    623
    Likes Received:
    509
    Location:
    Germany
    First Language:
    German
    Primarily Uses:
    RMMV
    The left mouse button is the same as the 'ok' button. So I think you can just use Input.isTriggered('ok') or Input.isPressed('ok').
     
    #2

Share This Page