Hey. Tell me please how to create a button with a field so that you can enter the value and this value could be somewhere in the code to convey?
Example: The button is my value, in my field I’m writing 15000.000 and this value takes the distance parameter of visibility.
def draw(self, context):
self.layout.operator("my.buttons", text="Buttons")
this create only buttons and text Buttons.