Event for button press...

Discussion in 'Plugin Development' started by hpdvs2, Aug 22, 2012.

Thread Status:
Not open for further replies.
  1. Offline

    hpdvs2

    What event do I use to react to button presses? I'm familiar with many events, but I haven't found a button press event.
     
    ApexXVI likes this.
  2. Offline

    Netizen

    PlayerInteractEvent?
     
  3. Offline

    Lolmewn

    PlayerInteract -> Check if left_click_block or right_click_block, then if(block is Button) -> do stuff.
     
  4. Offline

    hpdvs2

    ok, I guess that makes sense. I just figured there would be a specific event for buttons and levers, etc... but this makes sense.

    Thanks!
     
Thread Status:
Not open for further replies.

Share This Page