is there any piece of code that throws a spot (like a spot of a laser) on hit surface?. this spot radius should decrease with the increasing distance of the hit area. like a spot of a torch, that is big if it hits a close wall and gets smaller if the wall is more distant. somehow i dont know how to start. frown

any help will be approciated
thanks in advance