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
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