Get Axis (x, y or z) values from Location

Greetings all,
Hope you are doing well.

I have a small question: I know how to ger a location from Player Character or any actor. But i want to get the value of x, y or z.

By example, if my player fall down, i want to use blue print which calculate if Z is less than 0, display on screen “you loose”.

Thanks for your attention.

Greetings.

1 Like

GetActorLocation, then BreakVector on the result.

1 Like

Yes, that’s the correct answer. Pull of the result of the GetActorLocation Node and release on an empty spot in your Event Graph to get the Context Menu up.

Make sure “Context Sensitive” is activ and type in “Break”.

BreakVector should show up (:

If you are pleased with his answer, make sure to click the little “Check” mark on the left of his answer to mark your question as resolved. This will make it easy to keep the AnswerHUB structured (:

Whoops, looked way too long for this simple thing… Thanks man.

THANK YOU SO MUCH!!! THAT HELPED ME A LOT!!!

THANK YOU SO MUCH!!! THIS HELPED ME A LOT!!!