I can successfully send Mouse click events but how do you send a MouseEnterEvent event to a VisualElement? Should this code work?
void SimulateMouseEnterEvent(VisualElement element)
{
Debug.Log("Mouse enter event sent to " + element.name);
MouseEnterEvent evt = MouseEnterEvent.GetPooled();
evt.target = element;
element.SendEvent(evt);
}