Download

Why I can't use the Controller from APawn;

bdbd73d7c87edb0cf893c2f3d5b22f0b4cf1966c.png

As the picture display Controller is from the default class APawn , why is the undeclared identifier?

Try using GetController() instead. You should also probably check that it’s valid before dereferencing it.