Documentation Set for Swarm 2.2
Prev | Reference III. Activity Library | Next

# ActionCreatingTo

## Name

ActionCreatingTo -- An action that sends a message to an object.

## Description

A createActionTo: message specifies that the action to be performed is defined by an Objective C message selector to be performed on a receiving object plus any required arguments. The message selector is specified by the message: argument and the receiving object is specified as the first argument, target.

## Protocols adopted by ActionCreatingTo

None

## Methods

### Phase: Using

- - (id <ActionTo>)createActionTo: target message: (SEL)aSel

- - (id <ActionTo>)createActionTo: target message: (SEL)aSel : arg1

- - (id <ActionTo>)createActionTo: target message: (SEL)aSel : arg1 : arg2

- - (id <ActionTo>)createActionTo: target message: (SEL)aSel : arg1 : arg2 : arg3

## Examples

Example activity/ActionCreatingTo/1.

     [anActionGroup createActionTo: aTurtle message: M(move:) : obj];

Prev | Home | Next
ActionCreatingForEach | Up | ActionForEach