This is another fantastic fidget toy. It has 2x8 Magnets inprinted and can slide back and forth. You need to add a pause in Prusaslicer on the layer that encases the magnets. For one set you need 2x8 magnets (axial magnetic) with size 6x3 mm (https://amzn.to/3QqWlZH).
Make sure you place them all with the N up in one and S up in the other fidget!
Note: this is not my original idea. I found these types of fidgets on the internet and made my own version.
Update: upon request added the STEP file.
The HEX version is here https://www.printables.com/model/444242-hex-magnetic-fidget-toy
The triangular version is here https://www.printables.com/model/663630-triangular-fidget
The author marked this model as their own original creation.