How to change image, for a simple avatar maker

Hello i want to make a sort of avatar maker. i have a basic image of a human, and based on some buttons i want to change images on top of that one ( with a higher z-index ).

For instance, i have a basic human image on the bottom, exactly on top i have another image that should change based on some buttons, if i click “punk” it will put image of a punk outfit, if i click “princess” it will put an image of a princess outfit and so on…

i’m new to this, how can i make an image change when clicking a button? seems complicated

This topic was automatically closed after 70 days. New replies are no longer allowed.