GetPawn Not Working

This code is as typed in the Unreal Developers course, with the one modification of “#include Engine/World.h” which is the only way i could get “GetWorld” to work.

https://www.screencast.com/t/7p1IpuXVsMwj - Code working prior to pointing to GetPawn.
https://www.screencast.com/t/bDVc6fCHO - Code not working, not recognizing GetPawn.

Any ideas on what i can do to make GetPawn recognizable? or perhaps a replacement? If this is a common issue, maybe insert it in the video if possible? Is this an UE 4.16.3 issue? I’m stuck in the course until i can resolve this. Thanks for any help!

Update. I moved the #include “OpenDoor.h” above the other includes. I tried to build it, with a success. Still had the red squiggly lines on “GetWorld”, but it built nonetheless. Screenshot below.