Optional
groupUid: stringAdds the given interaction to the given map with an uid. The interaction can't be in multiple groups at the same time.
The uid to associate with the interaction
The interaction to add
Deactivate all draw interaction of this group.
Deactivates and remove every interaction of this group.
Finds an interaction by its uid
The uid of the interaction to find
The interaction if found, undefined otherwise
Finds all interaction having uid included in the provided uid.
A start part uid of the interaction to find.
The interaction if found or undefined otherwise.
all the interaction of the wanted group.
Verifies if the interaction is already present in the map
The uid of the interaction to check
boolean indicating if the interaction is present
Removes the given interaction from the map.
The uid of the interaction to remove
Activate the interaction (and deactivate other interactions of this group) or deactivate it.
Manage a virtual group of interaction by setting a group uid in every added interaction. It can add, remove, find interaction, and toggle the active state of interactions.