
shadowClipEnd
- Returns the distance from the spot/sun that shadows stop
- float number
- 0.00 to 9999.00
Shadows work with Spot and Sun lamps
- Properties menu >> Object Data >> Shadow checkbox
- Properties menu >> Object Data >> Shadow >> Clipping >> Clip End

Sample Code
################## get the shadow stop distance
# import bge
import bge
# get current scene
scene = bge.logic.getCurrentScene()
# get a list of the lights in the scene
lightList = scene.lights
# get the spotlight named Spot_Light
light = lightList["Spot_Light"]
# get shadow stop distance
stopShadow = light.shadowClipEnd