Skip to main content

The "vngen_get_halign" Function

Syntax#

vngen_get_halign(id, type);

Sets whether to check alignment for text or labels

Description#

Returns the horizontal alignment of the specified text or label entity.

Example#

if (vngen_get_halign("text", vngen_type_text) != vngen_get_halign(all, vngen_type_text)) {
vngen_set_halign("text", vngen_type_text, vngen_get_halign(all, vngen_type_text));
}