playMaker

Author Topic: GUIButtonClick and MousePick Problem  (Read 1064 times)

Mornar

  • Playmaker Newbie
  • *
  • Posts: 40
    • View Profile
GUIButtonClick and MousePick Problem
« on: March 16, 2015, 05:48:07 PM »
Hi

I have got a question. I want to create a simple menu, just for testing my game.
Its a top down space shooter and I am moving my ship with draging and mousepick.

When the mouse is released the time scales down so i get a slowmo pausemenu.
And so when it is pause some menubuttons are apearing in the corners.

For examble the quit "back to main menu button".
When I click on the button the ship is moving to the click position instead of opening my menu because it also clicks on a hidden plain below.

How can I tell not to click through the gui button?
Maybe it works with layers? But how exactly?

Thankx for helping