OneScript
Foundation

device

Device capability APIs.

device.taptic

Triggers haptic feedback on supported devices. intensity accepts a number from 0.0 through 1.0.

import { device } from "onescript";

await device.taptic(0.5);

How is this guide?

Last updated on

On this page