point

Used with the is a and is not a operators to specify whether a value is a point.

# Metadata

Platforms: desktop, server, mobile OS: mac, windows, linux, ios, android Introduced: 1.0 Security:

# Syntax

point

# Examples

if it is not a point then exit mouseUp

# Description

Use the point keyword to find out whether a value can be used in expressions that require a point on the screen.

If the value consists of two numbers separated by a comma or by whitespace, it is a point. The numbers may be non-integers.

If the value is an expression, it is evaluated and LiveCode checks whether the final value is a point. For example, the value of the expression "22 + 3,23" is 25,23 (which is a point), so the following expression evaluates to true:

22 + 3,23 is a point

However, the expression

"22 + 3,23" is a point

evaluates to false, because the double quotes making it a string prevent the expression "22 + 3,23" from being evaluated.

# Tags

# See

- **property:** points - **operator:** is a, is not a - **function:** value - **glossary:** operator, keyword, expression