decentraland / sdk

PM repository for SDK
Apache License 2.0
4 stars 4 forks source link

Make hover glow optional #1139

Open nearnshaw opened 1 month ago

nearnshaw commented 1 month ago

In the explorer alpha, any item that is intractable glows with a green frame. There is no way to disable this, which can sometimes be a problem.

For example if we want to have an invisible click area, it will always glow:

Image

We should add a property to the PointerEvents component (and to the helpers), to make this glow optional. It should be enabled by default, but creators who wish to hide it can remove it.

Nice to have: if it's easy maybe we can also set the intensity of the glow with another property. Or even the color?