I'm working on a project that based on the number of keyboard keys or mouse buttons are pressed the game will change what image the entity uses.
I've looked into parent and child relationships and changing the visibility but that gets messy as there's one image per button combination (no buttons pressed, left, right, both pressed). I'm not sure how to get a query that lets me turn off the active one and turn on the needed one.
Is there a cleaner way to have an entity keep all of its transforms but update the underlying image that's rendered?