I am not really sure of what you are experiencing from your description. 😔
The basic functionality of the S-Pen is to tap the screen like it would register a finger tap. Additionally, it so has a pointer in the screen, so that we can know where the tap will land when we touch the screen with the tip of the S-Pen. If this behaviour is not working for you, you should check if you have some case with magnets, as these will impact the way the screen knows the S-Pen is touching it.
One thing that can be turned on or off is the quick menu for the S-Pen, when removing it from its regular charging place. Since this can impact the taping on a particular part of the screen in games, you can disable it on the app Settings - Advanced Features - S-Pen - Air command and deactivate the "Show Air command icon".
Lastly, there are advanced controls when waving the S-Pen around the screen, while pressing its button. If this is interfering with your gaming, then go to the app Settings - Advanced Features - S-Pen and turn off "Air actions".