FSceneViewport::SetPlayInEditorGetsMouseControl

Sets whether a PIE viewport takes mouse control on startup.

Windows
MacOS
Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Public/Slate/SceneViewport.h

Include

#include "Slate/SceneViewport.h"

Syntax

void SetPlayInEditorGetsMouseControl
(
    const bool bGetsMouseControl
)

Remarks

Sets whether a PIE viewport takes mouse control on startup.

Parameters

Parameter

Description

bGetsMouseControl

Takes control if true, or not if false.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss