unreal.PlayerInput

class unreal.PlayerInput(outer: Optional[Object] = None, name: Union[Name, str] = 'None')

Bases: Object

Object within PlayerController that processes player input. Only exists on the client in network games. see: https://docs.unrealengine.com/latest/INT/Gameplay/Input/index.html

C++ Source:

  • Module: Engine

  • File: PlayerInput.h

get_outer_a_player_controller() PlayerController

Return’s this object casted to a player controller. This can be null if there is no player controller.

Return type:

PlayerController