Macaw OS C reference

Function fset

#include <macaw.h>
void fset(int n, int flags);

Sets all 8 of a sprite's flags at once, while your program runs.

Parameters

nint
The sprite's number, from 0 to 255.
flagsint
The flags as one number, from 0 to 255: add 1 << f for each flag f you want set.

In Sprites and the map, with spr, sprex, sspr, fget, map, mget, mset, mapwidth, mapheight, maplayers, maplayername.