Try these steps:
Open Control Panel.
Select Pen and Touch.
Under the Pen Options tab, select Press and Hold and click Settings.
Uncheck "Enable press and hold for right-clicking."
Click OK, then Apply.
If the star still appears:
Go to Settings > Bluetooth & devices > Pen & Windows Ink
Turn off any options related to visual effects, show cursor, or visual feedback, if available.