MAXScript Language Reference > 3ds Max Objects > Node : MAXWrapper > Node Subclasses > Light : Node > Standard Lights >

# Targetspot : Light

    targetSpot - superclass: light; super-superclass:node - classID: #(4114, 0)

Value > MAXWrapper > Node > Light > TargetSpot

| Lights and Cameras - Quick Navigation

Constructor

    targetSpot...

Properties

    <Targetspot>.aspect Float default: 1.0 -- animatable, alias: Aspect_Ratio

The aspect ratio for the rectangular light beam.

    <Targetspot>.falloff Float default: 45.0 -- animatable

The angle of a light's falloff. The Falloff value is measured in degrees.

    <Targetspot>.showCone Boolean default: false

Turns display of the cone on or off.

    <Targetspot>.hotspot Float default: 43.0 -- animatable

The angle of a light's cone. The Hotspot value is measured in degrees.

    <Targetspot>.overShoot Boolean default: false

When on, the light casts light in all directions. However, projections and shadows occur only within its falloff cone.

    <Targetspot>.coneShape Integer default: 1 -- alias: lightShape

The shape of the falloff and hotspot areas:

1- Circle

2- Rectangle

Note

In MAXScript, you must explicitly construct a target for those objects that need one.

FOR EXAMPLE:
    c = Targetspot pos:[x,y,z] target:(targetObject pos:[xt,yt,zt])
Note that the name of the target isn't derived from the name of the object being created. The above example creates a Target Spot ($Spot01) and target ($Target01). If you create the Target spot in the UI, the target name would be $Direct01.Target.
See additional notes under TargetObject : GeometryClass

#### See Also

- Light Common Properties, Operators, and Methods

- Node Common Properties, Operators, and Methods

- MAXWrapper Common Properties, Operators, and Methods

- Value Common Properties, Operators, and Methods