Radar sensor


I have a strange problem.
I want to change the distance in radar sensor using a Python script.
I found variable in the documentation but it doesn’t work.
My error:

AttributeError: attribute 'distance' of 'KX_RadarSensor' objects is not writable

Maybe I’m doing something wrong, but I use the documentation all the time and everything always works fine. Of course I searched the Internet. But I found nothing.

Please help.
If you can :wink:

Thank you for your response.
But there is good news. I didn’t do anything wrong :slight_smile:
I will use mesh instead sensor. But i don’t like to use extra objects.

Once again, thank you, sorry for my english and may the Force by with you :smiley: