---
title: slideAction
description: 'What a key does. Keys with Ctrl, Cmd, or Alt stay with the browser.'
updated_at: '2026-10-04T04:04:56+02:00'
created_at: '2026-10-04T04:04:56+02:00'
symbol:
  kind: function
  name: slideAction
  signatures:
    - >-
      slideAction(event: KeyInput, startKey: string, presenting: boolean):
      [[reference/api/plugins/browser-presentation/SlideAction-type|SlideAction]]
      | undefined
  parameters:
    - name: event
      type: KeyInput
    - name: startKey
      type: string
    - name: presenting
      type: boolean
  returns:
    type: >-
      [[reference/api/plugins/browser-presentation/SlideAction-type|SlideAction]]
      | undefined
  source: >-
    https://github.com/mia-cx/svartz/blob/711f3906a713c8b9a5a572d0f34c85e90c3bc3d1/packages/plugins/src/browser-presentation.ts#L26
---

# slideAction
