Font size

Style conventions

To make things easy to follow, there are several formatting conventions and images used throughout the AnyLogic help:

Style Description
Bold The names of UI elements such as menus, buttons, field labels, tabs, and window titles.
AnyLogic Help Links. The same style is used for cross-referencing inside AnyLogic help website and for external links.
function() Short code samples and user inputs with a copy functionality. Hover over the code to see the copy button.
function() Short code samples without a copy functionality.
Ctrl + Shift Keyboard keys, file paths, and file names.
Image captions Descriptive text that appears below an image.


Icon indicates a block’s parameter that is recalculated every time you access it. The parameter acts as a function and you obtain its value using the function-call notation: myParameter().

Limited access features

Article or section titles marked with the pro tag, such as you can see in this section, describe AnyLogic features that are available in AnyLogic Professional edition and AnyLogic University Researcher only.

Code samples

Larger code samples with multiple lines of code are organized in separate code blocks with syntax highlighting and an option of copying the whole sample by clicking the copy button in the upper right corner.

setLayoutType(type); // this will just set the default type of layout, the agents will not get relocated
  applyLayout(); // this will relocate the agents according to the layout type currently set.

Links to article sections

You can link directly to article sections. For example, hover your mouse cursor over the title of this section until a link icon appears in its upper right corner. Click the icon to copy the link to clipboard.


We use two types of notices:

An ordinary note or tip.
Information of high importance. Often used to prevent user from doing something irreversible.

Interactive checklists in tutorials

You can track your progress along the tutorial by checking the list items in the scenarios. The progress will be saved across different browser sessions. This feature is available only in the online version of AnyLogic help.

  1. Click the list item here. A check mark will appear.
  2. To undo the check mark, click the item again.

Collapsible elements

We use collapsible elements to optimize the information flow on page.

One of these elements is a "read more" in descriptions of block parameters. You can show the information behind this element by clicking it. The information will remain visible until you refresh the page.

For example:

Parameter name
Parameter description.
Here you can find additional information about parameter, such as its value type, local variable, valid values, etc.

Another element is a collapsible section. You can show/hide the information behind this element by clicking the table row with the section title.

Click me!
Column 1 Column 2
This is how it works. Now click the title again to hide this content.
Or me!

You can still click the title to hide the content again.

Feedback form

At the bottom of every article on this website there is a feedback form hidden behind a Send Feedback collapsible. You can leave your suggestions and impressions to help us improve your experience with AnyLogic documentation.

How can we improve this article?