Name

def

Examples
def tinySquare(x, y): # Use "def" to define a function tinySquare.
    squareSize = 10
    rect(x, y, squareSize, squareSize) 

rectMode(CENTER)

background(0)
tinySquare(width/2, height/2)
Description
Syntax
Parameters
Updated on Wed Jan 18 17:32:21 2017.
Creative Commons License