Difference between revisions of "Chroma:getTicks"

From GiderosMobile
m (Text replacement - "<source" to "<syntaxhighlight")
Line 5: Line 5:
 
=== <translate>Description</translate> ===
 
=== <translate>Description</translate> ===
 
<translate>Gets the number of ticks (seconds) from the razer chroma server that you have been connected</translate>
 
<translate>Gets the number of ticks (seconds) from the razer chroma server that you have been connected</translate>
<source lang="lua">
+
<syntaxhighlight lang="lua">
 
(number) = Chroma:getTicks()
 
(number) = Chroma:getTicks()
 
</source>
 
</source>

Revision as of 14:26, 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 <syntaxhighlight lang="lua"> (number) = Chroma:getTicks() </source>

Parameters

Return values

Returns (number) The number of seconds connected.