Difference between revisions of "Chroma:getTicks"

From GiderosMobile
m (Text replacement - "<source" to "<syntaxhighlight")
m (Text replacement - "</source>" to "</syntaxhighlight>")
Line 7: Line 7:
 
<syntaxhighlight lang="lua">
 
<syntaxhighlight lang="lua">
 
(number) = Chroma:getTicks()
 
(number) = Chroma:getTicks()
</source>
+
</syntaxhighlight>
 
=== <translate>Parameters</translate> ===
 
=== <translate>Parameters</translate> ===
  

Revision as of 14:27, 13 July 2023


Available since: Gideros 2020.7
Class: chroma

Description

Gets the number of ticks (seconds) from the razer chroma server that you have been connected

(number) = Chroma:getTicks()

Parameters

Return values

Returns (number) The number of seconds connected.