as i understand you want to make a laser red dot which stays always on the surface(a wall for example) that is in the front of player like a crosshair but in 3d space.
is your camera fps or tps or anything else?
are you use template script or your own one?
which version you use (A6,A7,c-script,lite-c)?
anyway, the algorithm is one used in bullet hole code. instead of a hole-like bitmap you use a red dot one and instead of creating an entity(hole) for every bullet you create one entity in game start and set its position/rotation continuously (using bullet hole algorithm).
that is what you got to do.
also there is a high-end implementation called "projection" that needs use of complex shaders and i have no advise about that