Remember me
You are here: HomeForumCyberix3D ForumGeneral Discussion
Welcome, Guest
Username: Password: Remember me

TOPIC: Changing the text color

Changing the text color 8 months 2 weeks ago #3561

  • whinter
  • whinter's Avatar
  • OFFLINE
  • Senior Boarder
  • Hi, I try to make cool games for the community
  • Posts: 71
  • Thank you received: 16
How can I make it so that when I hover over the text, it changes color, and when I move the mouse away, it returns to its original color?
The administrator has disabled public write access.

Changing the text color 8 months 2 weeks ago #3562

  • cyberix3d
  • cyberix3d's Avatar
  • OFFLINE
  • Administrator
  • Posts: 792
  • Thank you received: 797
Hello Winter,

The Label command doesn’t detect mouse events.
Alternatively, you can use a transparent Rect to detect mouse over/out events and change the label’s color.

Here’s an example:
www.gamemaker3d.com/player?pid=01666444

Good luck with your game, and have a fun coding session!

Regards,
Cyberix3D team
The administrator has disabled public write access.
The following user(s) said Thank You: whinter
Time to create page: 0.089 seconds