How to "Cast To" Player Pawn from Player Controller?

This photo is the code now,

[size=12]I Want** “if input the “LookUp” Action Mapping Key,
AddRotation the**[/size]** Scene****Componet in the Player Pawn.”**

How do make that code…?

Please help anyone …

Hey , the line is this : APlayerPawn* PlayerPawn = Cast(UGameplayStatics::GetPlayerPawn(GetWorld(), 0));

remember to add
#include “Kismet/GameplayStatics.h”