tried to apply mask to limit how long the gun is, not working yet