← Back to Overlay domain

Overlay.setShowFPSCounter

Requests that backend shows the FPS counter

Domain: Overlay experimental

Parameters

NameTypeDescription
showbooleanTrue for showing the FPS counter

Example Request

{
  "id": 1,
  "method": "Overlay.setShowFPSCounter",
  "params": {
    "show": true
  }
}

Example Response

{
  "id": 1,
  "result": {}
}

Usage in Node.js

const result = await send('Overlay.setShowFPSCounter', {"show": true});
console.log(result);