problem with type usage

BlitzMax Forums/BlitzMax Programming/problem with type usage

try making sprite a global instead,