how to check if something in a table is nil lua code example Example: lua table is empty if not next(myTable) then -- Table is empty end