By default, Spriter will automatically assign CSS class names based on the source image filename, however these names can be changed as required.
Class names must be unique for each sprite in your project
Changing the class of an image
- Using the Image or Files views, either context click an image and choose Properties
from the menu, or double click an image - From the Properties dialog, enter a new value in the Class name field
- Click OK to save your changes, or Apply to save the changes and keep the properties dialog open
Restoring the class to the default value
- Using the Image or Files views, either context click an image and choose Properties
from the menu, or double click an image - From the Properties dialog, click the Restore to default value button next to the Class name field
- Click OK to save your changes, or Apply to save the changes and keep the properties dialog open