This is the programming I will use for when the Lightning Shield magnetizes Rings in my Sonic Mania Engine. The sprite will be magnetized towards your mouse cursor.