Playmaker Forum
PlayMaker Help & Tips => PlayMaker Help => Topic started by: secondsight on February 01, 2018, 03:24:15 PM
-
I want to do a mouse down / mouse up 2D event on one image. Searched this forum, found the solution. BUT: the event is not happening in my GUI, but in the scene ! As you can see (hopefully) in the image, when I click in my game view on that place where the image is in the scene view... it works !
(https://i.imgur.com/8ZBK2zo.png)
But obviously I want to click the button below ! What do I miss ? Please help me, Im going nuts :)
-
Hi.
You should use buttons inside the canvas here is a sample on how to setup the button event :
(https://i.imgur.com/ER4TnXD.gif)
You can set your image for the button
-
Thanks very much for taking the time to make the gif !
Indeed that solved my problem, finally. I´m still new to playmaker and try to understand it´s logics. But I get a hang of it :)
-
Hi,
No Problem.
Btw you can find many tutorials on the User Tutorial Wiki page (https://hutonggames.fogbugz.com/default.asp?W548)