SViewport::OnMouseMove

The system calls this method to notify the widget that a mouse moved within it.

Choose your operating system:

Windows

macOS

Linux

Override Hierarchy

SWidget::OnMouseMove()

SViewport::OnMouseMove()

References

Module

Slate

Header

/Engine/Source/Runtime/Slate/Public/Widgets/SViewport.h

Include

#include "Widgets/SViewport.h"

Source

/Engine/Source/Runtime/Slate/Private/Widgets/SViewport.cpp

Syntax

virtual FReply OnMouseMove
(
    const FGeometry & MyGeometry,
    const FPointerEvent & MouseEvent
)

Remarks

The system calls this method to notify the widget that a mouse moved within it. This event is bubbled.

Returns

Whether the event was handled along with possible requests for the system to take action.

Parameters

Parameter

Description

MyGeometry

The Geometry of the widget receiving the event

MouseEvent

Information about the input event