I don’t need ready-made blueprints, but can anyone suggest some tutorials I can watch to at least understand how to do this? Here’s the concept of my game: "The player is attracted to magnets if they have different polarities, and repelled if they have the same polarity:
Hold left mouse button — the player’s avatar changes polarity to north
Hold right mouse button — the player’s avatar changes polarity to south." I’d say I need a mechanic where coins are attracted to the player, but the other way around, and only when a button is pressed.