Skip to content

graph

Select one static graphic from a library for self.graph, without advancing it. Inside a process it uses self.file; call graph(library, id) to select from a library explicitly. Available as graph after import_globals() or mv.graphics.graph.

Parameters

  • id — A graphic id in self.file, or in the given library.
self.file = hero
self.graph = graph(42)

Related: animation, mv.graphics.sprite.

See the drawing guide for more examples and limits.