Skip to main content

The "sys_log_get_xoffset" Function


sys_log_get_xoffset(entity, index, char_index);
entityintegerThe data structure of the entity for which to perform text
indexintegerThe index of the row containing the target entity ID
char_indexintegerThe index of the character in the string before which to check for linebreaks


Returns the horizontal offset of the current line of text based on the current paragraph alignment set by vngen_set_halign at the time when logged text was recorded.