# Class: FeatureAtPixelInteraction

## vcs.vcm.interaction.FeatureAtPixelInteraction

### Extends

- vcs.vcm.interaction.AbstractInteraction

### Members

#### _defaultActive{number}

  A bitmask representing the default events to listen to `vcs.vcm.interaction.EventType`, default is NONE

#### _defaultModificationKey{number}

  The default bitmask for modification keys to listen to, `vcs.vcm.interaction.ModificationKeyType` default is NONE

#### active{number}

  The current active bitmask for `vcs.vcm.interaction.EventType`

#### excludedPickPositionEvents{number}

  Bitmask of `vcs.vcm.interaction.EventType` for which to never pick positions. In IE11 defaults to

      EventType.MOVE|EventType.DRAG

#### hitTolerance{number}

  The number of pixels to take into account for picking features

  Default Value:
    - 10

#### modificationKey{number}

  The current active `vcs.vcm.interaction.ModificationKeyType`

#### pickPosition{number}

  Bitmask of `vcs.vcm.interaction.EventType` for which events to pick the position

#### pickTranslucent{boolean}

  whether to pick translucent depth or not, defaults to true

#### pullPickedPosition{number}

  Pulls the picked position towards the camera position by this number

  Default Value:
    - 0

### Methods

#### handleMapChange(map) inherited

  Actions to perform on map change

  Name | Type | Description
  --- | --- | ---
  `map` | vcs.vcm.maps.Map |

#### pipe(event){Promise.<vcs.vcm.interaction.Event>} inherited

  Main function, called when an event is raised for this interaction

  Name | Type | Description
  --- | --- | ---
  `event` | vcs.vcm.interaction.Event |

#### setActive(active) inherited

  Sets the interaction active. Use boolean (true|false) to toggle default behavior. Pass it a bitmask of `vcs.vcm.interaction.EventType` to change the active state. Call without arguments to reset the default active, modification key and pointer Key behavior

  Name | Type | Description
  --- | --- | ---
  `active` | boolean | number |

#### setModification(mod) inherited

  Sets the modification key to listen to

  Name | Type | Description
  --- | --- | ---
  `mod` | number |

#### setPointer(pointer) inherited

  Sets the pointer key for this interaction$

  Name | Type | Description
  --- | --- | ---
  `pointer` | number |