using a UENUM to safely manage and check an object's movement direction

Ah nm, I googled it, so I mod’d the definition to this now:



EMoveDirection AtwinStickPawn::CalcDirectionFromTickVector( const FVector MoveVectorThisTick )
{
	
	if (MoveVectorThisTick.Y > 0)
	{
		return( EMoveDirection::_DIR_Right);
	}
	else return( EMoveDirection::_DIR_Down );
}


and now it seems to compile!

Thanks again!