getCurrentSceneTransitionCursor method

Future<double> getCurrentSceneTransitionCursor()

Gets the cursor position of the current scene transition.

Note: transitionCursor will return 1.0 when the transition is inactive.

  • Complexity Rating: 2/5
  • Latest Supported RPC Version: 1
  • Added in v5.0.0

Implementation

Future<double> getCurrentSceneTransitionCursor() async {
  final response = await obsWebSocket.sendRequest(
    Request('GetCurrentSceneTransitionCursor'),
  );

  return (response!.responseData!['transitionCursor'] as num).toDouble();
}