Search Unity

Question How to get pointer enter/exit on an entire layout group

Discussion in 'UGUI & TextMesh Pro' started by kloot, Apr 25, 2023.

  1. kloot

    kloot

    Joined:
    Mar 14, 2018
    Posts:
    78
    I'm trying to get an event to register when the pointer enters and leaves my layout group (a GridLayoutGroup in my case, but might as well be a HorizontalLayoutGroup or a VerticalLayoutGroup).

    Whatever I try, I can only get the event to fire on the individual items in the layout group, but I'm trying to get an event for when the pointer enters leave the whole grid...

    Thanks a bunch