playMaker

Author Topic: Making text disappear when clicked?  (Read 1376 times)

ShazBang

  • Playmaker Newbie
  • *
  • Posts: 33
Making text disappear when clicked?
« on: May 23, 2016, 04:38:17 AM »
Hey I was just making a main menu and wanted the text to fade away when clicked, then when a back button is pressed that text will fade back.

What action should I use to make the text fade away? Or at least just disappear?

Thanks.

joduffy

  • Full Member
  • ***
  • Posts: 121
  • Here to help
    • Online Playmaker Courses
Re: Making text disappear when clicked?
« Reply #1 on: May 23, 2016, 04:45:37 AM »
Hi Dude,

The action you need is the

Quote
U GUI Canvas Group Set Alpha

You then create an Fsm that loops and reduces the float for the alpha amount over time to cause it to fade. If it confusing let me know and I will look into creating an Fsm for you.

If you want to turn the text off without a fade. You can use:

Quote
Activate Game Object
- Jonathan

Online Playmaker Courses available at:
http://courses.jonathanoduffy.com

“I want the world to be a better place because I was here.”  -  Will Smith