GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
image_mask_toggle(3) Arcan Lua API image_mask_toggle(3)

image_mask_toggle - Invert a status flag on the specified object

nil
image_mask_toggle( vid, maskval )

1
an invalid maskval is considered a terminal state transition.

function image_mask_toggle0()
      a = fill_surface(32, 32, 255, 0, 0);
      for i=1,4 do
            if (image_hit(a, 0, 0)) then
                  print("pickable");
            else
                  print("unpickable");
            end
            image_mask_toggle(a, MASK_UNPICKABLE);
      end
end

function image_mask_toggle0()
      image_mask_set(WORLDID, math.random(1000));
end

image_mask_set(3) image_mask_clear(3) image_mask_clearall(3)

June 2022 image

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.