Detecting left or right

Hi, Quick question. Is there anything in the logic choices to check whether something is on the right or left of player object?

For that you’d use conditions along with expressions.

You use a condition called “X position”, it checks for the x position of an object.

Then, you insert the object you want to test against.

And as the “x”, you insert Player.CenterX()

Now you choose either > or < as the operator.

1 Like

Many thanks, yes makes sense

many thanks, will give this a try.