The Widget Interaction component can simulate different types of input methods (such as press, release or press + release) which you can find under the Interaction section in the Blueprint Context Menu.
You can also get information such as the last "hit" position registered by the Widget Interaction component or if a Widget Component in the world is currently being hovered upon.
Get Hovered Widget Component
Gets the currently hovered Widget Component.
Get Last Hit Result
Gets the last hit result generated by the component. Returns the custom hit result if that was set.
Is Over Focusable Widget
Returns true if a widget under the hit result is focusable. Slate widgets that return true for
Is Over Hit Test Visible Widget
Returns true if a widget under the hit result has a visibility setting that makes it hit test visible. Slate widgets that return true for
Is Over Interactable Widget
Returns true if a widget under the hit result is interactive. Slate widgets that return true for
Press and Release Key
Performs both the press and release of a simulated keyboard key.
Performs a press of a simulated keyboard key. Avoid using this for
a-z|A-Z, since things like the Editable Textbox in Slate expect OnKeyChar to be called to signal a specific character being sent to the widget. For those cases, use SendKeyChar instead.
Press Pointer Key
Simulates pressing a key on the mouse/pointer. In most cases, the key supplied would be a mouse button, but any key can be used. Advanced use cases, such as sending other keys to signal widgets to take special actions, are supported.
Releases a key as if it had been released from the keyboard.
Release Pointer Key
Simulates releasing a key on the mouse/pointer, similar to Press Pointer Key. In most cases, the key supplied would be a mouse button, but any key can be used.
Sends a scroll wheel event to the widget under the last hit result.
Send Key Char
Transmits a list of characters to a widget by simulating an OnKeyChar event for each key listed in the string.
Set Custom Hit Result
Sets a custom hit result. This is only taken into account if the Interaction Source is set to Custom.
The properties for the Widget Interaction component can also be reterived in the form of a getter or set via setter nodes.