AActor::EnableInput

Pushes this actor on to the stack of input being handled by a PlayerController.

Choose your operating system:

Windows

macOS

Linux

Override Hierarchy

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/GameFramework/Actor.h

Include

#include "GameFramework/Actor.h"

Source

/Engine/Source/Runtime/Engine/Private/Actor.cpp

Syntax

virtual void EnableInput
(
    class APlayerController * PlayerController
)

Remarks

Pushes this actor on to the stack of input being handled by a PlayerController.

Parameters

Parameter

Description

PlayerController

The PlayerController whose input events we want to receive.