-
Notifications
You must be signed in to change notification settings - Fork 2
raylib.ColorIsEqual
JoeStrout edited this page Apr 29, 2026
·
2 revisions
Check if two colors are equal
| Parameter | Default Value | Note |
|---|---|---|
| col1 | ||
| col2 |
| Condition | Return Value |
|---|---|
| (always) | number |
equal = raylib.ColorIsEqual(raylib.RED, raylib.RED)
print equal // 1 (true)
notEqual = raylib.ColorIsEqual(raylib.RED, raylib.BLUE)
print notEqual // 0 (false)