The player first gets to use the gun in the prolepsis, but they first aquire the gun when the player enters the underground facility.
By pressing the Q button, the player can change the Ray Gun from its Gun part to its Electrical-Mace part.
The gun part of the Ray Gun can shoot small, white electrical shots towards the target.
The mace part of the Ray Gun works similarly to the melee weapons already shown in game.
Melee hits do more damage when the battery is low, and recharge it with every hit.
Melee hits can overcharge the battery beyond its capacity, providing a free charged shot.
The Ray Gun's shots ricochet up to three times, making short work of anything they hit.
The Ray Gun's battery recharge delay is greatly reduced.