---
title: "getContributingCameras"
canonical: "https://help.vicon.com/space/ShogunPost121/1253737486/getContributingCameras"
format: markdown
---
# Description

Gets a string array of contributing cameras for a selected marker.

Enables you to automatically select cameras that contribute to a specified marker at the current frame.

## Functional area

Data Retrieval

# Command syntax

## Syntax

> Macro (scroll-tablelayout)

|  |
| --- |
| `getContributingCameras "marker"[-nameOnly] [-fullPath]` |

### Arguments

See above syntax.

### Flags

> Macro (scroll-tablelayout)

| Name | Flag arguments | Argument type | Exclusive to | Comments |
| --- | --- | --- | --- | --- |
| `nameOnly` | 0 | — | — | Specifies that only the name of the marker be returned. |
| `fullPath` | 0 | — | — | Specifies that the full path of the marker be returned rather than the "minimum" path, which is the minimum path needed to uniquely identify a marker. |

## Return value

String array

> Macro (scroll-pagebreak)

# Additional information

## Related commands

- [cameraView](https://vicon-help.atlassian.net/wiki/spaces/ShogunPost121/pages/1253737393)
- [removeRayContributions](https://vicon-help.atlassian.net/wiki/spaces/ShogunPost121/pages/1253737300)