How do I change the texture of a image using code

Godot Version



In my game their is a settings menu. In this settings menu there are some options. Problem is you don’t know if they are on or off. So I thought I would just change the color of a icon from green to red. It works great except that it isn’t what I’m looking for. So instead I want it to change from a green checkmark to a red X. Does anyone know how to do this?

Never mind I found a solution. All you have to do is combine the images and then set the frames

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.