---
name: "openCreateTapToRunScene"
mode: "kit"
versionRequirements:
  - { name: "@ray-js/ray", version: "1.5.17" }
---

## openCreateTapToRunScene

> [VERSION] @ray-js/ray >= 1.5.17

### Description

Navigate to the page for creating a one-tap execution scene

### Parameters

`Params`

| Parameter | Type | Required | Default | Description |
| --- | --- | --- | --- | --- |
| `params` | `ICommon` | No | - | Common parameters |

### Referenced Types

##### `type` ICommon

| Property | Type | Description |
| --- | --- | --- |
| `success` | `() => void` | Callback on successful API call |
| `fail` | `(err: ErrorMsg) => void` | Failure callback |
| `complete` | `() => void` | Completion callback (executed on both success and failure) |

##### `type` ErrorMsg

| Property | Type | Description |
| --- | --- | --- |
| `errorMsg` | `string` | Error message |
| `errorCode` | `string \| number` | Error code |
| `innerError` | `Object` | Error extension |

##### `type` ErrorMsg.innerError

| Property | Type | Description |
| --- | --- | --- |
| `errorCode` | `string \| number` | Error extension code |
| `errorMsg` | `string` | Error extension message |


### Examples

```typescript
import { openCreateTapToRunScene } from '@ray-js/ray';

const createTapToRun = async () => {
  try {
    await openCreateTapToRunScene();
    console.log('Navigated to the Tap-to-Run scene creation page');
  } catch (err) {
    console.error('Navigation failed:', err);
  }
};
```
