Colorize ImageOnlyButton when onPointerEnterObservable

Hello ,

Please i need to change the color of a ImageOnlyButton to yellow when onPointerEnterObservable .
Any help ?

Thanks a lots

Hey Mixofo,

How about this?


1 Like

Building on what @kestrelpi suggested you could also animate (lerp) the alpha of the child image so that the yellow background of the parent displays on pointer over.

1 Like