# RaycastResult.type

Returns the physics type of the target that was hit. (See [sm.physics.types](../Game-Script-Environment/Static-Functions/sm.physics.md#types))

**Kind:** Member

**Environments:** Game

## Game

[Open the full Game reference](../Game-Script-Environment/Userdata/RaycastResult.md#type)

### Get

Returns the physics type of the target that was hit. (See [sm.physics.types](../Game-Script-Environment/Static-Functions/sm.physics.md#types))

**Returns:**

| Type | Description |
| --- | --- |
| string | The physics type of the target that was hit. (See [sm.physics.types](../Game-Script-Environment/Static-Functions/sm.physics.md#types)) |
