# TapToAddSelection

Use the TapToAddSelection method to get or set whether to allow adding a selection by tapping. Learn its syntax and parameters in documentation.

## Content

Gets or sets whether to allow adding a selection by tapping.

## Syntax

[JavaScript]

```javascript
ret = FpSpread1.TapToAddSelection;
```

## Parameters

Boolean, true to allow tap to add selection; otherwise, false

## Return Type

Boolean, true to allow tap to add selection; otherwise, false

## Remarks

When this property is true, tap is similar to Ctrl + Click.

## Example

This is a sample that contains the property. On the client side, the script that contains the property would look like this:

```javascript
<SCRIPT language=javascript>
   function tap() {
       FpSpread1.TabToAddSelection = true;
   }
</SCRIPT>
```