• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Part XI: Appendixes > constrainH Sprite

constrainH Sprite

Function

Takes a sprite number and an integer as parameters. If the number is outside the horizontal boundaries of the sprite, it returns the value of the left or right side. Otherwise, it returns the integer unchanged.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint