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

You’ve specified that your function returns a value of type EMoveDirction, but when it gets to the end of the function (ie, the if is false) - it doesn’t return anything. You need to return something there :slight_smile: