Playmaker Forum

PlayMaker Help & Tips => PlayMaker Help => Topic started by: Mornar on March 16, 2015, 05:48:07 PM

Title: GUIButtonClick and MousePick Problem
Post by: Mornar on March 16, 2015, 05:48:07 PM

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