We won’t tell you the exact way but take a look at the GSC files and try to figure out how the game does it. GLHL ;)