I want to make a game that has portals in it, so whenever you left click you will get a blue portal and whenever you right click you will get an orange portal. I have made a specific sprite for the portals to spawn on (I want to be able to copy and move this sprite to other places where I want portals to be) but if you want the other portal there you can click and it will get replaced. I was thinking about using variables for this but am pretty clueless on how to do it properly.
Any help appreciated.