X location confusion in UE4

Hi, I’m new to Unreal Engine and there is something tiny bugging me out and its about the X location. It seems X is considered as forward in UE4

So I created a basic cube and scaled it out a little from the red pivot, and when I switch my camera to front view its facing the green pivot shouldn’t it be rotating towards the red pivot?