|Topic was automatically imported from the old Question2Answer platform.
If selection changes the color of selected object then how to edit it?
I ques could be some other way to select object to be able to see actual changes of the color in real time.
To edit colors via the script use $YourNode.modulate = Color.WhateverColor.
self.modulate = Color.red
This code will turn my sprite to a red color! The self keyword is referencing the sprite node.
I’m assuming of course this is what you’re asking
Keywords modulate and Colors will effect the color of the node you tell the script to change. Just a side note Colors is spelled with a capital! And modulate only works as an extension to a node!
Best of luck!