Hey there,
I am trying to change the color of my white GUI Image but it’s not changing it. I come from Unity Engine background I am trying the same as I do in Unity changing the color property of the image.
I am trying to make a Button whose color changes on hover.
Here is the link for the playground of what I am trying
Thank You
Hello! The color property is not used for Image, it’s just a holdover from the parent Control class. If you want to change color you’d have to use the Rectangle instead. Or, there’s a “trick” I found that might be acceptable, you could “tint” the image from behind using a color shadow, but you have to reduce the image opacity so it will look transparent: How to change Color of white GUI Image | Babylon.js Playground (babylonjs.com)
2 Likes
Ohh, Thank you for the response.