Contents

dusk.setPreference()

Synopsis

Sets the value of a preference.

Description

Dusk allows you to use a number of preferences to customize Dusk's behaviour. This function sets the value of a preference.

Please note that many preferences must be set before building a map.

See the List of Preferences to see the available preferences.

Arguments

name : String

The name of the preference you want to set.

value : (varies)

The new value you want to set the preference to.

Returns

(none)