Learn

Chapter 08 Player Classes & Input

#073 Get Player Controller

Need the player from any Blueprint? One node gets you there, but it can pick the wrong player.

  • 1:16 video
  • Written lesson
  • Beginner

Free for everyone from 21 Nov 2026, 00:00 CET

Video lesson: Get Player Controller, 1:16

One node, any Blueprint

Get Player Controller works in actors, widgets and Game Modes, with no reference needed. It’s a pure node. It takes a Player Index, and returns a Player Controller reference.

  • Index zero is the first local player. In split screen, index one is the second.
  • On a network client, it only sees local players.
  • The return type is the base class. Your own variables aren’t there, so cast to your Blueprint, like BP My Controller.
  • An index with no player returns None, and reading that gives Accessed None.

Example: a key door

A door checks a Has Key variable on your Player Controller: Get Player Controller, Cast To BP My Controller, read Has Key. The door opens.

Now add a second player in split screen. Player two reaches the door without a key, but index zero still reads player one.

The fix starts from whoever touched the door: Other Actor → Cast To Pawn → Get Controller, then cast as before. Now the door reads player two’s key, and stays shut.

Tips

  • Only one local player? Index zero is fine.
  • Get Player Pawn and Get Player Character take the same index, so the same rule applies.

In short

Index zero means the first local player, not whoever touched the door.

Covered in this lesson

  • Get Player Controller
  • Player Index
  • Cast To
  • Get Controller
  • Get Player Pawn
  • Get Player Character

Newsletter

Development updates are coming to your inbox.

The newsletter opens soon. Until then, new lessons, tools and Beach Hunters progress appear first on our channels, linked below.