Skip to content

What the point and use to the Hit ? #24

Description

@AlexandreMFilho

I'm trying to figure what the use of Concrete.hit. I wonder if it to hover or click in the layer, but in your exemple, you do it, in the hoveredLayer. If the Hit its for, if the pointer is hover in the Layer, why you have a HoveredLayer ? and why you need to have a MainLayer, HoveredLayer and use the MainLayer.hit ...
Please, i'm lost whithout ideas because the documentation doesn't explicit.
In the exemple the hit, draw the same of mainLayer and nothing more.
Can you explain to me plz ?

hit

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions