void AUISurfaceActor::HandleMouseoverEventPixelCoordinates(FVector PixelCoordinates) { Coherent::UI::View* UIView = CoherentUIComponent->GetView(); if (UIView) { // Generate view mouse events from user input Coherent::UI::MouseEventData* UIMouseEvent = new Coherent::UI::MouseEventData(); UIMouseEvent->X = PixelCoordinates.X; UIMouseEvent->Y = PixelCoordinates.Y; UIMouseEvent->Type = Coherent::UI::MouseEventData::EventType::MouseMove; UIView->MouseEvent(*UIMouseEvent); } }