Hello i want to create an AddOn in Blender. I'm working with visual studio code. I'm kinda new to this so my problem is that i want to have a label called "color" in my addon. In that label i want to give or change the color of my object. I don't know how to start or know the keywords/methods i need to use to change the color of an object. Can somebody help me? For the start it would be enough for me if i just could choose between the colors red, blue and yellow
I'm sorry if this seems like as if i just want to have the code but i have like zero programming skills and i searched for days for tutorials that could help me but i coudn't find one or i didn't understand them. So i would really appreciate it, if someone could help me with my problem.
def draw(self, context):
layout = self.layout
Color_Stones = layout.box()
Color_Stones.label(text="Color")